<script>       
    // 剩余运算符解构   
      let [x, ...y] = [1, 2, 3];   
      console.log(x); // 1   
      console.log(y); // [2, 3]   
   </script> 